package com.whfc.mach.param;

import com.whfc.common.validator.FieldScope;
import com.whfc.common.validator.FieldScopeType;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * @author sun_guodong
 * @description 编辑油箱参数
 * @date 2020-11-12
 */
@Data
public class MachTankEditParam implements Serializable {

    @NotNull
    private Integer machId;
    /**
     * 油箱高度
     */
    @Positive
    @NotNull
    private Double oilTankHeight;
    /**
     * 油箱容积
     */
    @Positive
    @NotNull
    private Double oilTankVolume;
}
